package org.despick.arkham.horror.randomcards.dummy;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class Card {

	public static class CardItem {

		public String id;
		public String content;

		public CardItem(String id, String content) {
			this.id = id;
			this.content = content;
		}

		@Override
		public String toString() {
			return content;
		}
	}

	public static List<CardItem> ITEMS = new ArrayList<CardItem>();
	public static Map<String, CardItem> ITEM_MAP = new HashMap<String, CardItem>();

	static {
		addItem(new CardItem("1", "Allies"));
		addItem(new CardItem("2", "Skills"));
		addItem(new CardItem("3", "Relationship"));
	}

	private static void addItem(CardItem item) {
		ITEMS.add(item);
		ITEM_MAP.put(item.id, item);
	}
}
